package org.demo.system.mapper;

import org.demo.base.auth.domain.Permission;

import java.util.Collection;
import java.util.List;

/**
 * @author tomdog
 */
public interface PermissionMapper {

    /**
     * 根据roleKeys查询所有的权限
     * @param roleKeys
     * @return
     */
    List<Permission> listByRoleKeys(Collection<String> roleKeys);
}
